
      @import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Manrope:wght@400;500;600;700&family=Outfit:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700&family=Padauk&display=swap');

  .kzh-portal-wrapper {
    --bg: #021410;
    --ink: #ffffff;
    --soft: #d3f1e4;
    --accent: #34d399;
    --cyan: #22d3ee;
    --warm: #f59e0b;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
  }
  .kzh-portal-wrapper *, .kzh-portal-wrapper *::before, .kzh-portal-wrapper *::after { box-sizing: border-box; }

  /* ---------- Hero ---------- */
  .kzh-hero-viewport {
    --mx: 50%; --my: 50%;
    position: relative;
    height: 100vh; height: 100svh;
    min-height: 520px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    padding: clamp(28px, 8vh, 90px) clamp(16px, 6vw, 100px) clamp(60px, 10vh, 100px);
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse at 50% 55%, #0b3a2c 0%, #062119 48%, #021410 100%);
  }
  .kzh-video-backdrop { position: absolute; inset: 0; z-index: 0; }
  #kzh-chem-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .kzh-bg-video-stream {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.4; mix-blend-mode: screen;
  }
  .kzh-bg-video-stream.is-missing { display: none; }
  .kzh-spotlight {
    position: absolute; inset: 0;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(52,211,153,0.18), transparent 70%);
    mix-blend-mode: screen;
  }
  .kzh-video-scrim {
    position: absolute; inset: 0;
    background: rgba(0, 12, 8, 0.5);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  }

  .kzh-hero-deck {
    position: relative; z-index: 2;
    width: 100%; max-width: 1100px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
  }

  .kzh-academic-tagline {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.95rem; font-weight: 700;
    color: #dcfce7;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(52,211,153,0.14);
    border: 1px solid rgba(110,231,183,0.5);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    margin-bottom: clamp(10px, 2.5vh, 24px);
  }
  .kzh-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 0 rgba(245,158,11,0.7); animation: kzh-ping 2.2s ease-out infinite; }
  @keyframes kzh-ping { to { box-shadow: 0 0 0 12px rgba(245,158,11,0); } }

  .kzh-portal-heading {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(1.4rem, min(6.2vw, 13vh), 5rem);
    white-space: nowrap;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 clamp(12px, 3vh, 28px);
    padding: 0 0.04em 0.08em;
    background: linear-gradient(100deg, #ffffff 0%, #6ee7b7 50%, #67e8f9 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    filter: drop-shadow(0 6px 36px rgba(52,211,153,0.4));
  }

  @keyframes kzh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  .kzh-hero-lead {
    max-width: 58ch;
    font-size: clamp(0.95rem, min(1.7vw, 2.4vh), 1.2rem);
    line-height: 1.65; font-weight: 500;
    color: var(--soft);
    margin: 0 0 clamp(14px, 2.6vh, 24px);
    text-shadow: 0 2px 16px rgba(2,20,16,0.85);
    animation: kzh-rise 0.9s ease-out 0.5s both;
  }

  .kzh-topic-path {
    list-style: none; padding: 0;
    margin: 0 0 clamp(16px, 3.4vh, 34px);
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
    animation: kzh-rise 0.9s ease-out 0.65s both;
  }
  .kzh-topic-path li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.92rem; font-weight: 600; color: #eafff5;
  }
  .kzh-topic-path li::before {
    content: ''; width: 8px; height: 8px; border-radius: 50%;
    background: var(--warm); box-shadow: 0 0 10px rgba(245,158,11,0.9);
  }
  .kzh-topic-path li:not(:last-child)::after {
    content: ''; width: clamp(14px, 3vw, 36px); height: 1px; margin: 0 10px 0 4px;
    background: linear-gradient(90deg, rgba(110,231,183,0.8), rgba(110,231,183,0.15));
  }

  .kzh-presenter-bar {
    display: flex; align-items: center; gap: 16px;
    max-width: 100%;
    padding: 8px 8px 8px 10px;
    border-radius: 999px;
    background: rgba(5, 36, 28, 0.6);
    border: 1px solid rgba(167, 243, 208, 0.22);
    box-shadow: 0 16px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    text-align: left;
    animation: kzh-rise 0.9s ease-out 0.8s both;
  }
  .kzh-presenter-avatar {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #34d399, #22d3ee);
    color: #02140f; font-family: 'Sora', sans-serif; font-size: 0.8rem; font-weight: 800;
  }
  .kzh-presenter-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding-right: 6px; }
  .kzh-presenter-label { font-size: 0.74rem; color: #9fd8bd; font-weight: 500; }
  .kzh-presenter-name { font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
  .kzh-presenter-school { font-size: 0.82rem; color: var(--soft); }

  .kzh-btn-start-learning {
    position: relative;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 13px 26px;
    border: 0; border-radius: 999px;
    background: linear-gradient(100deg, #34d399, #22d3ee);
    color: #02140f;
    font-family: 'Sora', sans-serif; font-size: 0.98rem; font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 34px rgba(52,211,153,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .kzh-btn-start-learning::after {
    content: ''; position: absolute; inset: -6px; border-radius: 999px;
    border: 2px solid rgba(110,231,183,0.55);
    animation: kzh-ring 2.4s ease-out infinite;
  }
  @keyframes kzh-ring { from { transform: scale(0.96); opacity: 0.9; } to { transform: scale(1.14); opacity: 0; } }
  .kzh-btn-start-learning:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(52,211,153,0.6); }
  .kzh-btn-arrow-icon { width: 18px; height: 18px; animation: kzh-bob 1.6s ease-in-out infinite; }
  @keyframes kzh-bob { 50% { transform: translateY(4px); } }
  .kzh-btn-start-learning:focus-visible, .outline-translate-btn:focus-visible { outline: 3px solid var(--warm); outline-offset: 6px; }

  .kzh-scroll-cue {
    position: absolute; z-index: 2; left: 50%; bottom: clamp(12px, 2.5vh, 24px); transform: translateX(-50%);
    width: 24px; height: 38px; border: 2px solid rgba(211,241,228,0.6); border-radius: 14px;
  }
  .kzh-mouse-wheel {
    position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    border-radius: 2px; background: #dcfce7; animation: kzh-wheel 1.8s ease-in-out infinite;
  }
  @keyframes kzh-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

  @media (max-height: 760px) { .kzh-topic-path { display: none; } }
  @media (max-height: 620px) {
    .kzh-presenter-label, .kzh-presenter-school, .kzh-scroll-cue { display: none; }
  }
  @media (max-width: 640px) {
    .kzh-presenter-bar { flex-direction: column; gap: 10px; padding: 14px 18px; border-radius: 22px; text-align: center; }
    .kzh-presenter-avatar { display: none; }
    .kzh-presenter-badge { align-items: center; padding-right: 0; }
    .kzh-topic-path li { font-size: 0.82rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .kzh-portal-heading, .kzh-hero-lead, .kzh-topic-path, .kzh-presenter-bar, .kzh-tag-dot, .kzh-btn-start-learning::after,
    .kzh-btn-arrow-icon, .kzh-mouse-wheel { animation: none; }
    .kzh-bg-video-stream { display: none; }
    .kzh-btn-start-learning { transition: none; }
  }/* ==========================================================================
       DESIGN TOKENS & RESET
       ========================================================================== */
    :root {
      --blue-primary: #1565c0;
      --blue-secondary: #0d47a1;
      --blue-accent: #1e88e5;  .objective-outline-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 55px 28px 45px;
    background-color: #07111e;
    background-image: url('https://images.unsplash.com/photo-1509228468518-180dd4864904?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
  }
  .outline-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,17,30,0.94) 0%, rgba(5,12,22,0.96) 50%, rgba(7,17,30,0.98) 100%);
    z-index: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .math-watermark {
    position: absolute;
    bottom: 15px;
    right: 25px;
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(96, 165, 250, 0.035);
    pointer-events: none;
    z-index: 1;
  }
  .outline-container { position: relative; max-width: 1140px; margin: 0 auto; z-index: 2; }
  .outline-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 18px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .sub-heading-tag {
    display: block; font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 1.8px;
    text-transform: uppercase; color: #60a5fa; margin-bottom: 4px;
  }
  .main-title {
    font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700;
    color: #ffffff; line-height: 1.2; letter-spacing: -0.3px;
  }
  .outline-translate-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid rgba(96, 165, 250, 0.4);
    color: #f1f5f9; font-family: 'Plus Jakarta Sans', 'Padauk', sans-serif;
    font-size: 0.86rem; font-weight: 600; padding: 8px 16px;
    border-radius: 6px; cursor: pointer; transition: all 0.25s ease;
  }
  .outline-translate-btn:hover {
    background: rgba(30, 136, 229, 0.2); border-color: #60a5fa; color: #ffffff;
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.2);
  }
  .mission-statement { margin: 24px 0 28px 0; padding-left: 16px; border-left: 3.5px solid #3b82f6; }
  .mission-statement p {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem;
    line-height: 1.65; color: #cbd5e1;
  }
  .outline-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; }
  .outline-list .outline-row:last-child { grid-column: span 2; }
  .outline-row {
    display: flex; align-items: flex-start; gap: 16px; padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: all 0.25s ease;
  }
  .outline-row:hover { padding-left: 6px; border-bottom-color: rgba(96, 165, 250, 0.35); }
  .row-num {
    flex-shrink: 0; font-family: 'Outfit', sans-serif; font-size: 1.15rem;
    font-weight: 700; color: #60a5fa; width: 28px; line-height: 1.4;
  }
  .row-body { flex: 1; }
  .row-title {
    font-family: 'Outfit', sans-serif; font-size: 1.08rem; font-weight: 600;
    color: #ffffff; margin-bottom: 4px; letter-spacing: -0.2px;
  }
  .row-desc {
    font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.88rem;
    color: #94a3b8; line-height: 1.55;
  }
  .lang-mm { font-family: 'Padauk', 'Noto Sans Myanmar', sans-serif !important; }
  .mission-statement p.lang-mm { font-size: 1.02rem; line-height: 1.85; }
  .outline-list.lang-mm .row-num { font-family: 'Padauk', sans-serif; font-size: 1.2rem; }
  .outline-list.lang-mm .row-title { font-family: 'Padauk', sans-serif; font-size: 1.1rem; line-height: 1.6; }
  .outline-list.lang-mm .row-desc { font-family: 'Padauk', sans-serif; font-size: 0.9rem; line-height: 1.75; color: #cbd5e1; }
  .hidden { display: none !important; }
  @media screen and (max-width: 820px) {
    .objective-outline-section { padding: 36px 18px; }
    .outline-list { grid-template-columns: 1fr; gap: 12px; }
    .outline-list .outline-row:last-child { grid-column: span 1; }
    .outline-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  }
      --blue-light: #e3f2fd;
      --blue-dark-bg: #0a192f;
      --card-bg: rgba(13, 37, 72, 0.95);

      --white: #ffffff;
      --text-main: #f0f4f8;
      --text-muted: #94a3b8;
      --text-subtle: #64748b;

      --font-heading: 'Outfit', sans-serif;
      --font-body: 'Plus Jakarta Sans', sans-serif;
      --font-mono: 'Fira Code', monospace;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--blue-dark-bg);
      color: var(--text-main);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      padding-top: 110px; /* Space for fixed banner + nav */
    }

    /* ==========================================================================
       TOP RUNNING BANNER
       ========================================================================== */
    .top-banner {
      width: 100%;
      height: 35px;
      background: linear-gradient(90deg, var(--blue-secondary), var(--blue-accent));
      color: var(--white);
      font-size: 0.88rem;
      font-weight: 600;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 2000;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .top-banner span {
      display: inline-block;
      white-space: nowrap;
      padding-left: 100%;
      animation: scrollBanner 24s linear infinite;
    }

    @keyframes scrollBanner {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* ==========================================================================
       NAVBAR
       ========================================================================== */
    .top-navbar {
      width: 100%;
      position: fixed;
      top: 35px;
      left: 0;
      padding: 10px 24px;
      background: rgba(10, 25, 47, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(30, 136, 229, 0.35);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      transition: all 0.3s ease;
      z-index: 1500;
    }

    .top-navbar.scrolled {
      background: rgba(8, 20, 38, 0.98);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
      padding: 8px 24px;
    }

    /* Logo & Branding */
    .top-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .top-logo img {
      display: block;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.05);
    }

    .top-logo.left img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .top-logo.right img {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      border: 1.5px solid var(--blue-accent);
    }

    .brand-text-group {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      line-height: 1.2;
    }

    .brand-name {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: 0.3px;
      color: var(--white);
      white-space: nowrap;
      text-shadow: 0 2px 6px rgba(30, 136, 229, 0.4);
    }

    .brand-subtitle {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .badge-grade {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: #64b5f6;
      background: rgba(30, 136, 229, 0.15);
      border: 1px solid rgba(100, 181, 246, 0.3);
      padding: 1px 6px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .sub-dot {
      font-size: 0.6rem;
      color: var(--text-muted);
      opacity: 0.6;
    }

    .badge-subject {
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 1.2px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    /* Links */
    .top-links {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .top-links a {
      color: var(--text-main);
      text-decoration: none;
      font-size: 0.92rem;
      font-weight: 600;
      padding: 6px 2px;
      position: relative;
      transition: color 0.25s ease;
    }

    .top-links a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0%;
      height: 2.5px;
      background: var(--blue-accent);
      transition: width 0.25s ease;
    }

    .top-links a:hover,
    .top-links a.active {
      color: var(--blue-light);
    }

    .top-links a:hover::after,
    .top-links a.active::after {
      width: 100%;
    }

    /* Header Right Actions */
    .top-right-group {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .nav-exit-btn {
      background: linear-gradient(135deg, #d32f2f, #b71c1c);
      color: var(--white);
      border: none;
      border-radius: 6px;
      padding: 6px 14px;
      font-size: 0.88rem;
      font-family: var(--font-body);
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-exit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(211, 47, 47, 0.4);
    }

    /* Mobile Hamburger */
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 26px;
      height: 20px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1600;
    }

    .nav-toggle span {
      display: block;
      height: 2.5px;
      width: 100%;
      background: var(--white);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
      transform: translateY(8.5px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
      transform: translateY(-8.5px) rotate(-45deg);
    }

    /* ==========================================================================
       EXIT CONFIRMATION MODAL
       ========================================================================== */
    .exit-modal-overlay {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(5, 12, 26, 0.75);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .exit-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .exit-modal-card {
      width: 90%;
      max-width: 380px;
      background: var(--card-bg);
      border: 1px solid rgba(41, 121, 255, 0.35);
      border-radius: 14px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(41, 121, 255, 0.2);
      transform: scale(0.92);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .exit-modal-overlay.active .exit-modal-card {
      transform: scale(1);
    }

    .exit-modal-icon {
      font-size: 2.2rem;
      margin-bottom: 8px;
    }

    .exit-modal-title {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 8px;
    }

    .exit-modal-desc {
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 22px;
    }

    .exit-modal-actions {
      display: flex;
      gap: 12px;
      justify-content: center;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
      flex: 1;
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      padding: 9px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-modal-cancel {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-main);
    }

    .btn-modal-cancel:hover {
      background: rgba(255, 255, 255, 0.16);
      color: var(--white);
    }

    .btn-modal-confirm {
      background: linear-gradient(135deg, #dc2626, #b91c1c);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--white);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    }

    .btn-modal-confirm:hover {
      background: linear-gradient(135deg, #ef4444, #dc2626);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
    }

    /* ==========================================================================
       SITE FOOTER
       ========================================================================== */
    .site-footer {
      position: relative;
      width: 100%;
      background: linear-gradient(180deg, rgba(8, 20, 38, 0.85) 0%, #060e1d 100%);
      border-top: 1px solid rgba(41, 121, 255, 0.25);
      color: var(--text-muted);
      margin-top: auto;
      overflow: hidden;
    }

    .footer-glow-bar {
      position: absolute;
      top: -1px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #2979ff, #60a5fa, transparent);
      box-shadow: 0 0 15px rgba(41, 121, 255, 0.6);
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 50px 24px 35px 24px;
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    .footer-heading {
      font-family: var(--font-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 18px;
      position: relative;
      display: inline-block;
    }

    .footer-heading::after {
      content: "";
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--blue-accent);
      border-radius: 2px;
    }

    .footer-logo-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }

    .footer-seal {
      width: 44px;
      height: 44px;
      object-fit: contain;
      border-radius: 50%;
      border: 1.5px solid var(--blue-accent);
    }

    .footer-brand-title {
      display: block;
      font-family: var(--font-heading);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
      margin-bottom: 3px;
    }

    .footer-tags {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .footer-desc {
      font-size: 0.88rem;
      line-height: 1.55;
      color: var(--text-muted);
      margin-bottom: 16px;
      max-width: 540px;
    }

    .footer-formula-pill {
      display: inline-flex;
      align-items: center;
      background: rgba(41, 121, 255, 0.08);
      border: 1px solid rgba(41, 121, 255, 0.3);
      padding: 6px 14px;
      border-radius: 8px;
      box-shadow: inset 0 0 10px rgba(41, 121, 255, 0.05);
    }

    .footer-formula-pill code {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: #93c5fd;
    }

    .footer-specs-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .spec-item {
      display: flex;
      flex-direction: column;
      font-size: 0.85rem;
    }

    .spec-label {
      font-size: 0.75rem;
      color: var(--text-subtle);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
    }

    .spec-val {
      color: var(--text-main);
      font-weight: 500;
    }

    .footer-partner-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 6px 12px;
      border-radius: 8px;
      width: fit-content;
    }

    .footer-partner-logo img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      border-radius: 4px;
    }

    .footer-partner-logo span {
      font-size: 0.8rem;
      font-weight: 600;
      color: #cbd5e1;
    }

    /* Footer Bottom Bar */
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(4, 10, 20, 0.95);
      padding: 18px 24px;
    }

    .footer-bottom-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    .copyright-text {
      font-size: 0.82rem;
      color: var(--text-subtle);
    }

    .copyright-text strong {
      color: var(--text-muted);
    }

    .back-to-top {
      color: #60a5fa;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 6px;
      background: rgba(41, 121, 255, 0.1);
      border: 1px solid rgba(41, 121, 255, 0.25);
      transition: all 0.2s ease;
    }

    .back-to-top:hover {
      background: rgba(41, 121, 255, 0.2);
      color: var(--white);
      transform: translateY(-2px);
    }

    /* ==========================================================================
       MEDIA QUERIES & RESPONSIVENESS
       ========================================================================== */
    @media screen and (max-width: 992px) {
      .nav-toggle {
        display: flex;
      }

      .nav-container {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 75px);
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid rgba(30, 136, 229, 0.3);
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5);
      }

      .nav-container.open {
        right: 0;
      }

      .top-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
      }

      .top-links a {
        font-size: 1.05rem;
        display: block;
        width: 100%;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    @media screen and (max-width: 600px) {
      body {
        padding-top: 100px;
      }

      .top-navbar {
        padding: 8px 14px;
      }

      .brand-name {
        font-size: 0.92rem;
      }

      .badge-grade,
      .badge-subject {
        font-size: 0.58rem;
        letter-spacing: 0.8px;
      }

      .top-logo.left img,
      .top-logo.right img {
        width: 34px;
        height: 34px;
      }

      .nav-exit-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
      }

      .footer-container {
        padding: 36px 16px 24px 16px;
      }

      .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-formula-pill {
        width: 100%;
        justify-content: center;
      }
    }
  